package com.rinlink.jbcodec;


import com.alibaba.fastjson.JSONObject;


public interface Codec<T> {

    byte[] encode(JSONObject data, T scheme);

    JSONObject decode(byte[] data,T scheme);

}
